#pragma once
class XThread
{
public:
	bool Start();
	void Wait();
	virtual void Main() = 0;
	XThread();
	virtual ~XThread();
private:
	unsigned int th = 0;
};

